package guda.house.dal.dao;

import guda.house.dal.dataobject.AdminRoleRelDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface AdminRoleRelDAO {


    Long insert(AdminRoleRelDO adminRoleRel);


    AdminRoleRelDO getAdminRoleRelById(Long relId);


    boolean delAdminRoleRelById(Long relId);

    List<AdminRoleRelDO> getAdminRoleRelByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long relId);

    List<AdminRoleRelDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(AdminRoleRelDO adminRoleRel);

    void delByAdminId(Long adminId);

    List<AdminRoleRelDO> selectByAdminId(Long adminId);

}
